

package com.freework.buildercode.mydbm;


public class DataVo
{
    String type;
    String cnName;
    int size=0;
	String name;
	
    public  boolean isNotNull;
    public  String iskey;
    public String isIskey() {
		return iskey;
	}
    public String getIskey() {
		return (iskey);
	}
	public void setIskey(boolean iskey) {
		this.iskey = String.valueOf(iskey);
	}

	int digits=0;
    public int getDigits() {
		return digits;
	}
	public void setDigits(int digits) {
		this.digits = digits;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}

    
    public boolean isNotNull() {
		return isNotNull;
	}
	public void setNotNull(boolean isNotNull) {
		this.isNotNull = isNotNull;
	}

	public DataVo(String type, String cnName, String name, boolean isNotNull) {
		super();
		this.type = type;
		this.cnName = cnName;
		this.name = name;
		this.isNotNull = isNotNull;
	}
     public String getTest(){
    	 
    	 return "test1";
     }
	
    public DataVo()
    {
        cnName = "";
    }

    public String getCnName()
    {
        return cnName;
    }
   
    public void setCnName(String cnName)
    {
        this.cnName = cnName != null ? cnName : "";
    }

    public String getType()
    {
    	if(type==null)
    		return "String";
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }


}